<?php
/**
 * User: 苏翔
 * Date: 2024/8/11 19:01
 */

namespace App\Service;

use App\Dao\PriceDailyDao;
use App\Dao\PriceLogDao;

use App\Dao\PriceWeeklyDao;
use Hyperf\Di\Annotation\Inject;
use App\Service\Traits\KeylineTrait;
use function Symfony\Component\Translation\t;


/**
 * @method cancel(int $category, int $link_id)
 */
class PriceWeekService extends BaseService
{
    use KeylineTrait;
    #[Inject]
    protected PriceWeeklyDao $dao;

    function handle($date='')
    {
        if(!$date){
            $date = date('Y-m-d');
        }
        return $this->dao->handle($date);
    }

}